package thefirst.code.model;

import java.sql.SQLException;
import java.util.List;

public interface CodeDao {
	public List<CodeVO> findGenderByCode() throws SQLException;
	public List<CodeVO> getCodeList(String code_type) throws SQLException; //코드타입이 동일한 특정 코드 리스트(희망과목, 성별 등)만 불러온다.
	public int insertCode(CodeVO cvo) throws SQLException;
	public int isExistCode(String code_code) throws SQLException;
	public int updateCode(CodeVO cvo) throws SQLException;
	public void deleteCode(String code_no) throws SQLException;
	public List<CodeVO> getTotalCodeList(String pageNo) throws SQLException;
	public int getTotalCodeContent() throws SQLException;
	public CodeVO selectCodeInfo(int code_no) throws SQLException;
}
